package com.bootlever.rmi.server.service.impl;

import com.bootlever.framework.rmi.annotation.RmiServerResource;
import com.bootlever.rmi.user.sdk.service.UserDetailService;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

@RmiServerResource(registryPort = 9633,value = "/userDetail")
public class UserDetailServiceImpl extends UnicastRemoteObject implements UserDetailService{

    public UserDetailServiceImpl() throws RemoteException {
    }

    public String getUserDetail() throws RemoteException {
        return "zhangsanvbnlkklk";
    }
}
